/*
 * Copyright 2009 Nordic Consulting & Development Company
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package pl.ncdc.web.login.client;

import pl.ncdc.web.login.client.service.AuthenticationService;
import pl.ncdc.web.login.client.service.AuthenticationServiceAsync;
import pl.ncdc.web.login.client.service.UserService;
import pl.ncdc.web.login.client.service.UserServiceAsync;

import com.google.gwt.core.client.GWT;

/**
 * Login application entry point.
 * <p>
 * Created on Apr 15, 2008
 *
 * @author hshsce
 * @author kardigen
 * @version $Id: LoginApp.java 174 2009-01-29 23:25:07Z hshsce $
 */
public class LoginApp extends AbstractLoginApp {

	/** {@inheritDoc} */
	@Override
	protected AuthenticationServiceAsync newAuthenticationService() {
		return GWT.create(AuthenticationService.class);
	}

	/**
	 * @see pl.ncdc.web.login.client.AbstractLoginApp#newUserService()
	 */
	@Override
	protected UserServiceAsync newUserService() {
		return GWT.create(UserService.class);
	}

}
